import request from '../utils/request';

export const allSlideShow = () => {
    return request({
        url: '/slideshow/all',
        method: 'get', 
    });
};

export const updateSlideShow = (data) => {
    return request({
        url: '/slideshow/update',
        method: 'patch', 
        data:data , 
    });
};

export const addSlideShow = (data) => {
    return request({
        url: '/slideshow/add',
        method: 'post', 
        data:data , 
    });
};

export const deleteSlideShow = (data) => {
    return request({
        url: '/slideshow/delete',
        method: 'post', 
        data:data , 
    });
};

